Book Contents

How the numeric pop-ups work at run time

When the operator enters a value in the numeric pop-up keypad or scratchpad and presses the Enter button:

  1. The value is written to the Value connection.

    If the Optional Expression connection is assigned, the application calculates the value of the expression and writes the result to the Value connection.

  2. The pop-up is cleared.
  3. If Enter key handshaking is set up for the numeric input enable button or the numeric input cursor point, the Enter connection is set to 1 and the handshaking timers begin timing.

Operator input

When a pop-up is shown, only the pop-up accepts operator input.

The pop-up accepts input from the numeric keys, decimal point, minus, Backspace or Enter key from a keypad terminal, and from the numeric keys, decimal point, minus keys, Backspace, Delete, Escape or Enter key on an external keyboard.

Initial values

  • When a numeric object has the focus and the operator presses a number key, the number is entered into the pop-up's scratchpad. The decimal point will be shown according to the numeric object's decimal point settings.
  • When a numeric object has the focus and the operator presses a minus (-) key,  a minus sign followed by a zero (-0) is shown. If the operator presses a decimal (.) key, a zero followed by a decimal point (0.) is shown.

    If the numeric object that invoked the pop-up is configured to use a decimal point type of Fixed position, and the number of digits after the decimal is greater than 0, a decimal point followed by the specified number of digits appears after the leading zero.

    For example, if the decimal type is Fixed position and the Digits after decimal point option is set to 2, the zero is shown as 0.00.

  • If the pop-up was not invoked by pressing a number key, a minus (-) key, or a decimal (.) key, the initial value shown will be based on the current Value connection value. The decimal point will be shown according to the numeric object's decimal point settings.

See also

Use the numeric pop-up scratchpad

Use the numeric pop-up keypad

How values are calculated

Causes of run-time errors for the numeric pop-ups